/**
 * Created by Administrator on 2017/8/22.
 */
import fetch from '../utils/fetch';


/**
 *zealot 查询数据
 */
//根据number查询分期详细信息 操作WBSitem
export function queryWBSitemByNumber(data) {
  return fetch({
    url: '/gi-paas-sd-sqlcomputesvc/api/service/querySql',
    method: 'put',
    data: data
  });
}


/**
 * 普通操作
 */
//编辑分期备案名  操作WBSitem
export function editWBSitemByNumber(data) {
  return fetch({
    url: '/gi-paas-sd-wbsitemsvc/api/service/update',
    method: 'put',
    data: data
  });
}

//读取所有的项目头
export function queryProjectHead() {
  return fetch({
    url: '/gi-paas-sd-projectheadsvc/api/service/list',
    method: 'get',
  });
}
